import Vue from 'vue'

if (process.client) {
//   var firebaseConfig = {
//     apiKey: "AIzaSyBpbiIJAZvoM4AJ-mwxsQKzTs4ZsbiSogI",
//     authDomain: "freenovel-1bd60.firebaseapp.com",
//     projectId: "freenovel-1bd60",
//     storageBucket: "freenovel-1bd60.appspot.com",
//     messagingSenderId: "644058665917",
//     appId: "1:644058665917:web:f0fee57b3a2b0306a978d4",
//     measurementId: "G-LSS90Q6Q8F"
//   };
// // Initialize Firebase
//   firebase.initializeApp(firebaseConfig);
//   firebase.analytics();
}

//脸熟登陆
import FBSignInButton from 'vue-facebook-signin-button'
Vue.use(FBSignInButton)

//谷歌登陆
import GSignInButton from 'vue-google-signin-button'
Vue.use(GSignInButton);


if (process.localStorage) {
  global.localStorage = window.localStorage
}
